#pragma once
#include "afxpropertygridctrl.h"

class CModelPropManager;

class CButtonProperty : public CMFCPropertyGridProperty
{
// public:
// 	CButtonProperty(void);
// 	~CButtonProperty(void);

	DECLARE_DYNAMIC(CButtonProperty)

	// Construction
public:

	CButtonProperty(const CString& strName, const CString& strFolderName, DWORD_PTR dwData = 0, LPCTSTR lpszDescr = NULL);
	virtual ~CButtonProperty();

	// Overrides
public:
	virtual void OnClickButton(CPoint point);

	void SetEnabled(bool bEnabled)
	{
		m_bEnabled = bEnabled;
	}
	// Attributes
protected:
    // Add your protected members here

public:
	bool m_bEnabled;
	CObjPropMgr *m_pModelPropManager;
};

